/*
	import { createNamespacedHelpers } from 'vuex';
	const { mapState, mapMutations } = createNamespacedHelpers('dashbord');
*/

const state = {
	userList: [{ name: '张三', age: 18 }],
};

const mutations = {
	SET_USER_LIST(state, { list }) {
		console.log(list);
		state.userList = list;
	},
};

export default {
	namespaced: true,
	state,
	mutations,
};
